package com.team8.system.service.dao;

import com.team8.system.pojo.DicCode;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DicCodeDao extends Mapper<DicCode> {

    @Select("SELECT * FROM dic_code where three_character_code = #{name};")
    List<DicCode> selectNameByTcc(@Param("name") String name);

}
